Welcome Guest, you are in: Login
CTS Futures

Page History: Market Order

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2013/02/21 17:04


A Market Order is entered with the New Order Single message (35=D) as shown in the following example:

' Submit an order.
moOrder = moAccounts.SubmitNewOrder( _
oAccount, _
oMarket, _
BuySell.Buy, _
PriceType.Limit, _
TimeType.Normal, _
1, _
CDbl(6534))

The following revelant tags are described in the dictionary of the New Order Single message.here.

penPriceTypeSet to PriceType.Limit for a limit order.
penTimeTypeSet to TimeType.Normal for a limit order that will exist for the current trading day only.
piVolumeSet to the order volume you want.
pdblLimitPriceSet to the limit price you want. Be sure that you are using the correct overloaded SubmitNewOrder method and providing either a display price as a double or a tick price as an integer.

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.